package com.hj.system.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import com.hj.system.service.MainService;
import com.hj.system.entity.base.MainEntity;
import org.springframework.web.bind.annotation.RestController;
import com.hj.system.controller.BaseController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wxf
 * @since 2021-04-02
 */
@RestController
@RequestMapping("/sys/main")
public class MainController extends BaseController<MainEntity,MainService> {
    @Autowired
    private MainService mainService;
    @Override
    public MainService getBaseService() {
        return mainService;
    }
}

